/*
 * @Copyright: Copyright (c) 2030 吴周海
 * @Author: wzh200x@126.com
 * @Date: 2025-10-10 15:58:35
 * @LastEditors: wzh200x@126.com
 * @LastEditTime: 2025-10-10 15:58:48
 * @FilePath: \goWebServer\goGameWebServer\internal\middlewares\cors.go
 * @Description: 文件功能描述
 */
package middlewares

import "github.com/gogf/gf/v2/net/ghttp"

func MiddlewareCORS(r *ghttp.Request) {
	r.Response.CORSDefault()
	r.Middleware.Next()
}
